package mvc.tubolar;


import mvc.SurfaceModel;

import org.geom.curve.ICurve;
import org.geom.surface.TubolarSurface;

public class TubolarModel extends SurfaceModel {
	
	public TubolarModel(TubolarSurface surface) {
		super(surface);
	}

	public ICurve getTrunk() {
		return ((TubolarSurface) surface).getTrunk();
	}
	
	public void setRadius(int r) {
		((TubolarSurface) surface).setRadius(r);
	}

	public void setDiameterPoints(int d) {
		((TubolarSurface) surface).setDiameterPoints(d);
	}

	public void setU(int n) {
		((TubolarSurface) surface).setU(n);
		
	}


}
